import React from 'react'
import { Button, Result } from 'antd'

import { logoutFun } from '@utils/auth'

function Page() {
  return (
    <div className={`g_page`}>
      <Result
        status="403"
        title="403"
        subTitle="对不起您没有访问权限！"
        extra={
          <Button type="primary" size="large" onClick={() => logoutFun()}>
            退出登录
          </Button>
        }
      />
    </div>
  )
}

export default Page
